{foreach $courseData as $course}
<li {if $param.id eq $course.course_id}  class="active" {/if}>
	<a href="/learnings/{$course.course_id}.html">
		{if $course.type eq 3}
		<div class="progress-svg">
			<svg aria-label="{$course.percent}" class="progress" xmlns="http://www.w3.org/2000/svg" width="20"
				height="35" role="img" viewBox="-3 0 20 37">
				<rect x="0" y="18" width="14" height="14"></rect>
				<rect x="0" y="8" width="14" height="8"></rect>
				<rect x="0" y="30" width="14" height="2"></rect>
				<polygon points="14 0 10.131 3.774 7 0 3.868 3.775 0 0 0 6 14 6"></polygon>
			</svg>
		</div>
		{else}
		<div class="icon">
			<i class="iconfont icon-{$course.type|returnCourseType=###}"></i>
			<div class="layui-progress">
				<div class="layui-progress-bar" lay-percent="{$course.percent}%"></div>
			</div>
			{if $course.percent egt 90}<div class="complete"><i class="iconfont icon-gou"></i></div>{/if}
		</div>
		{/if}
		<div class="t">
			<h4>{$course.course_name}</h4>
		</div>
		{if $course.is_free eq 1}<em>试看</em>{/if}
	</a>
</li>
{/foreach}